/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase - Bool1
 * <p>Powered by webrx On 2021-11-22 14:05:58
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Bool1 {
    public static void main(String[] args) {
        System.out.println(true & false); //false
        System.out.println(true && false);//false 短路
        System.out.println(true | false);//true
        System.out.println(true || false);//true 短路
        System.out.println(!true || false);//false
        System.out.println(!true ^ !false);//true 异或 相反为true

        //! && ||
    }
}
